// import { CheckBox } from "devextreme-react";

export const bottomColumns = [
  {
    dataField: "itemNames3",
    dataType: "string",
    caption: "报表项目",
    width: 100,
    alignment: "left",
    allowResizing: true
  },
  {
    dataField: "YSKMBH",
    dataType: "string",
    caption: "科目编号",
    width: 100,
    alignment: "right",
    allowResizing: true
  },
  {
    dataField: "KMMC",
    dataType: "string",
    caption: "科目名称",
    width: 180,
    alignment: "left",
  },
  {
    dataField: "HSXMMC",
    dataType: "string",
    caption: "辅助账名称",
    width: 120,
    alignment: "left",
  },
  {
    dataField: "JF",
    caption: "借方金额",
    width: 80,
    alignment: "right",
    dataType: "number",
    dataTypeCustom: "money-number",
    format: '#,##0.00',
    editorOptions: {
      format: { type: 'decimal', currency: 'CNY', precision: 2 }
    },
  },
  {
    dataField: "DF",
    caption: "贷方金额",
    width: 80,
    alignment: "right",
    dataType: "number",
    dataTypeCustom: "money-number",
    format: '#,##0.00',
    editorOptions: {
      format: { type: 'decimal', currency: 'CNY', precision: 2 }
    },
  },
  {
    dataField: "isJZFL",
    // dataType: "string",
    caption: "结转分录",
    width: 80,
    alignment: "center",
    // cellRender: (cell: any) => {
    //   return <CheckBox value={cell.data.isJZFL ? true : false} />
    // }
  },
  {
    dataField: "remark",
    dataType: "string",
    caption: "备注",
    width: 100,
    alignment: "left",
  },
];


